package com.monee1988.dubboserver.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.monee1988.dubboapi.buss.ShopApi;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Service(interfaceClass = ShopApi.class,version = "1.0.0")
@Component
public class ShopApiService implements ShopApi {

    @Value("${spring.profiles.active}")
    private String env;

    @Override
    public String findPage() {
        return env+" request is ok！！！";
    }
}
